package com.hc.dao;

import com.hc.pojo.TbUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    TbUser findByid(long id);

    List<TbUser> findLike(Map<String, String> map);

    TbUser selectByEmail(String email);

    List<TbUser> findAll();

    boolean addTbUser(TbUser tbUser);

    int updateTbUer(TbUser tbUser);

    int deleteById(Long id);

    int batchDelete(String[] ids);

}
